package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbCommodityProperty;

import java.util.List;
import java.util.Map;

/** 商品属性中间
 *
 * @author wuye
 * @date 2018/3/2
 */
public interface SysTbCommodityPropertyService {

    TbCommodityProperty queryObject(Integer id);

    List<TbCommodityProperty> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbCommodityProperty myearnings);

    void update(TbCommodityProperty myearnings);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    List<TbCommodityProperty> foundByCommodityid(Integer commodityid);
}
